﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Tebbee.Business.Server
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IMediaTypeSer" in both code and config file together.
    [ServiceContract]
    public interface IMediaTypeSer
    {
        [OperationContract]
        int AddNewMediaType(MediaType category);

        [OperationContract]
        ICollection<MediaType> ListMediaTypes(int startRow, string searchString);

        [OperationContract]
        int EditMediaType(MediaType category);

        [OperationContract]
        int DeleteMediaType(int id);

        [OperationContract]
        ICollection<MediaType> AllMediaTypes();
    }
}
